﻿using System.ComponentModel.DataAnnotations;
using MediatR;

namespace WeatherHistory.Api.CommandsQueries.Commands.Accounts.Registration;

public class RegistrationAccountsCommandRequest : IRequest<RegistrationAccountsCommandResponse>
{
    [Required]
    public string FirstName { get; set; } = null!;

    [Required]
    public string LastName { get; set; } = null!;

    [Required]
    [EmailAddress]
    public string Email { get; set; } = null!;

    [Required]
    public string Password { get; set; } = null!;
}